<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:jdbc="http://www.springframework.org/schema/jdbc"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd
		http://www.springframework.org/schema/jdbc https://www.springframework.org/schema/jdbc/spring-jdbc-3.0.xsd">

	<jdbc:embedded-database id="dataSource" type="H2"/>

	<bean class="org.springframework.jdbc.support.CustomSQLExceptionTranslatorRegistrar">
		<property name="translators">
			<map>
				<entry key="H2">
					<bean class="org.springframework.jdbc.support.CustomSqlExceptionTranslator"/>
				</entry>
			</map>
		</property>
	</bean>

</beans>
